@extends( 'layouts.main' )

@section( 'title', '账单列表' )

@section( 'content' )
<div class="weui-panel">
    <div class="weui-panel__hd">账单列表
        <a onclick="window.location.href='/add'" style="float: right; ">新 增</a>
    </div>
    @foreach ( $list as $value )
        <div class="weui-panel__bd" onclick="window.location.href='/edit/{{$value['id']}}'">
            <div class="weui-media-box weui-media-box_text">
                <h4 class="weui-media-box__title">￥{{ $value['fee'] }}</h4>
                <p class="weui-media-box__desc">{{ $value['remark'] }}</p>
                <ul class="weui-media-box__info">
                    <li class="weui-media-box__info__meta">{{ date( 'Y/n/d H:i', $value['create_time'] ) }}</li>
                    <li class="weui-media-box__info__meta">{{ $value['status_text'] }}</li>
                    <li class="weui-media-box__info__meta weui-media-box__info__meta_extra">{{ $value['about_user'] }}</li>
                </ul>
            </div>
        </div>
    @endforeach
    </div>
</div>
@stop